Skip to main content

[Symbol.asyncIterator]

method Dir.prototype.[Symbol.asyncIterator]
Jump to headingDir.prototype.[Symbol.asyncIterator](): AsyncIterableIterator<Dirent>

Asynchronously iterates over the directory via readdir(3) until all entries have been read.

Return Type Jump to heading

AsyncIterableIterator<Dirent>
Back to top